package one.stand.fallback;

import com.jmp.base.dto.*;
import com.jmp.feign.SecurityUserFeign;
import one.stand.entity.TokenEntity;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

/**
 * @author Administrator
 */
@Component
public class SecurityUserFallback implements SecurityUserFeign {

    @Override
    public ResultModel<TokenEntity> loginInfo(String token) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel userBindWx(SecurityUserBindWxRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel userBindWx2(SecurityUserBindWx2Request request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel userBindPhone(SecurityUserBindPhoneRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<SecurityUserBindWxPhoneResponse> userBindWxPhone(SecurityUserBindWxPhoneRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<SecurityAuthSaveVo> authSave(SecurityAuthSaveDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<SecurityAuthListVo> authList(SecurityAuthListDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<SecurityAuthCheckVo> authCheck(SecurityAuthCheckDto request) {
        return ResultModel.faultTolerant();
    }
}
